package com.baizhi.service;

import com.baizhi.entrty.Article;
import com.baizhi.entrty.ArticleDTO;

import java.util.List;
import java.util.Map;

public interface ArticleService {
    Map fy(int page, int rows);

    void insert(Article ar);

    void delete(int[] id);

    List<ArticleDTO> showAll();

    List<Article> showArticle();

    List<ArticleDTO> getArticleDto(int userId);

}
